package com.rainng.coursesystem.repository;


import com.rainng.coursesystem.model.QuestionItem;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.Optional;

@Repository
    public interface QuestionRepository extends JpaRepository<QuestionItem, Integer> {

        Optional<QuestionItem> findById(Integer questionId);
}
